<?php $this->page_title = $this->translate ( 'Create new ad' ) ;?>
<div id="main_list" class="span-24 last main">
    <div class="span-18">
        <div class="section_local_ads">
            <h2><?=$this->translate ( 'Create a new ad' ).' - '.$this->woeidName;?></h2>

            <?php
            if (isset ( $this->error )) :
                ?>
            <div class="error">
                    <?=$this->escape ( $this->error );?>
            </div>
            <?php endif;
            ?>

            <div class="section_form">
                    <fieldset><legend><?=$this->translate ( 'Please, fill this form to publish your ad' );?></legend>
                        <?=$this->form?>

                    </fieldset>
            </div>
        </div>
    </div>
    <div class="span-6 last">
        <div class="new_ad_icon">
            <a class="new_ad" href="/<?=$this->lang ?>/ad/create">
            <img alt="<?=$this->translate('Create new ad') ?>" src="/images/icons/ico_new_ad.png" class="valign" /><div class="txt_valign"><?=$this->translate('Create new ad'). $this->woeidNameShort ; ?></div></a>
        </div>
                
        <div class="change_location_icon">
            <a class="change_location" href="/<?=$this->lang ?>/location/change">
            <img alt="<?=$this->translate('Change location' ) ?>" src="/images/icons/ico_change_location.png" class="valign" /><div class="txt_valign"><?=$this->translate('Change location'); ?></div></a>
        </div>
        <div class="clearer"></div>        
        <div class="advertising">
            <!-- BEGIN PARTNER PROGRAM - DO NOT CHANGE THE PARAMETERS OF THE HYPERLINK -->
            <script language="javascript" type="text/javascript" src="http://program.epartner.es/view.asp?ref=570686&site=8346&type=html&hnb=5&js=1"></script>
            <noscript><a href="http://web.epartner.es/click.asp?ref=570686&site=8346&type=b1&bnb=1" target="_blank">
            <img src="http://program.epartner.es/view.asp?ref=570686&site=8346&b=1" border="0"/></a><br /></noscript>
            <!-- END PARTNER PROGRAM -->
        </div>
    
    </div>

</div> <!-- /main -->
